//
//  JMMuenView.h
//  ShareClien
//
//  Created by xiaorui on 14-12-22.
//  Copyright (c) 2014年 xiaorui. All rights reserved.
//

#import <UIKit/UIKit.h>


@class JMMuenViewItem;

@interface JMMuenView : UIView

-(id)initWithFrame:(CGRect)frame withItem:(JMMuenViewItem *)menuitem;


@property (nonatomic,strong) JMMuenViewItem *menuitem;

@property (nonatomic)  BOOL rotate;

@property (nonatomic,strong) UILabel *titleLabel;

-(void)rotating;

@end


@interface JMMuenViewItem : NSObject

-(id)initWithImage:(UIImage *)image title:(NSString *)title target:(id)target action:(SEL)action;

@property (nonatomic,copy) UIImage *image;

@property (nonatomic,copy) NSString *title;

@property (nonatomic,assign) id target;

@property (nonatomic) SEL  action;

@end